SQL Server Agent(SQL Server 代理) 无法启动

您所在的位置:网站首页 sql server2008代理无法启动怎么办 SQL Server Agent(SQL Server 代理) 无法启动

SQL Server Agent(SQL Server 代理) 无法启动

2024-07-14 00:45| 来源: 网络整理| 查看: 265

今日在电脑上重装SQL Server 2012数据库,重新安装完后SQL Server Agent却一直无法启动成功……

查看SQL Server Agent的启动日志,日志内容如下:

2019-04-20 12:07:21 - ? [100] Microsoft SQLServerAgent version 11.0.6020.0 (X64 unicode retail build) : Process ID 6684 2019-04-20 12:07:21 - ? [495] The SQL Server Agent startup service account is WORKGROUP\XXXXXXXXXX$. 2019-04-20 12:07:21 - ! [150] SQL Server does not accept the connection (error: 0). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start. 2019-04-20 12:07:21 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start 2019-04-20 12:07:21 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider is installed and registered correctly. [SQLSTATE 08001] 2019-04-20 12:07:21 - ! [298] SQLServer Error: 27, Client unable to establish connection [SQLSTATE 08001] 2019-04-20 12:07:21 - ! [165] ODBC Error: 0, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001] 2019-04-20 12:07:21 - ! [382] Logon to server '(local)' failed (DisableAgentXPs) 2019-04-20 12:07:21 - ? [098] SQLServerAgent terminated (normally)

 

先在网上查找了一番资料,遇到此问题的人也确实不少,常用的一些处理方式:

① 在SQL Server配置管理器中,修改SQL Server Agent的登录身份为Local System……(此方式并不解决我的问题,我的登录身份已经是Local System)

② 检查SQL Server配置的角色权限,登录身份需要拥有系统数据库msdb的db_owner权限……(也没有解决我的问题,修改登陆身份以及各种权限后问题依旧)

③ …………还有其他很多,不再赘述…………

 

最后的解决方案是偶然发现的,SQL Server重装后竟然还有一个程序的安装日期与众不同(见下图)……

然后,我把这个SQL Server 2012 Native Client修复了一下,问题就解决了……

 

最后备注下我的SQL Server卸载步骤:

① 使用SQL Server 安装包卸载程序;

② 删除C盘SQL Server 的各个安装目录;

③ 删除注册表中的SQL Server 项目。

但现在看来这还是不够彻底的……

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3